BoltCheckout\WC_Bolt_Data_Manager S

Total Complexity 49
Dependencies 4
Dependents 1
Total lines 678
Lines of code 318
Logical lines of code 139
Comment lines 272
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
cleanup_historic_expired_session()
S
50 4 31
insert_external_customer_id()
S
55 3 22
cleanup_expired_session()
S
55 3 18
update_customer_id()
S
58 3 17
get_session()
S
62 3 11
insert_session()
S
55 2 22
get_held_qty()
S
55 2 22
create_bolt_session_customer_id_table()
S
56 2 21
create_woocommerce_bolt_external_customer_ids_table()
S
56 2 21
get_bolt_sessions_schema()
S
58 2 19
update_session()
S
58 2 17
delete_session()
S
59 2 16
update_session_time()
S
62 2 13
get_instance()
S
72 2 6
get_customer_id()
S
66 2 8
get_session_created_at_time()
S
66 2 8
get_order_id_by_reference()
S
65 2 8
get_by_external_id()
S
66 2 8
__clone()
S
78 1 3
__wakeup()
S
78 1 3
reset()
S
80 1 3
__construct()
S
76 1 4
init()
S
72 1 5
get_bolt_post_meta()
S
69 1 6
create_bolt_sessions_table()
S
71 1 6